package com.itheima.dao;

import org.apache.ibatis.annotations.Delete;

public interface RoleDeleteMapper {

    @Delete("delete from role_table where id = #{id}")
    public void DeleteById(int id);

    @Delete("delete from role_table where rolename = #{rolename}")
    public void DeleteByName(String rolename);
}
